package com.nextbus.model;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * 集合了parser中的各种对象O
 * @author Administrator
 *
 */
public class RouteConfig {
    private Route route;
    private HashMap<String, String> routeTagKeyToStopTagvalue;
    private ArrayList<Stop> stops;
    private ArrayList<DirectionsAndStops> directionsToStopsMapping;
    public RouteConfig(Route route,
            HashMap<String, String> routeTagKeyToStopTagvalue,
            ArrayList<Stop> stops,
            ArrayList<DirectionsAndStops> directionsToStopsMapping) {
        super();
        this.route = route;
        this.routeTagKeyToStopTagvalue = routeTagKeyToStopTagvalue;
        this.stops = stops;
        this.directionsToStopsMapping = directionsToStopsMapping;
    }
    public RouteConfig() {
		// TODO Auto-generated constructor stub
	}
	public Route getRoute() {
        return route;
    }
    public void setRoute(Route route) {
        this.route = route;
    }
    public HashMap<String, String> getRouteTagKeyToStopTagvalue() {
        return routeTagKeyToStopTagvalue;
    }
    public void setRouteTagKeyToStopTagvalue(
            HashMap<String, String> routeTagKeyToStopTagvalue) {
        this.routeTagKeyToStopTagvalue = routeTagKeyToStopTagvalue;
    }
    public ArrayList<Stop> getStops() {
        return stops;
    }
    public void setStops(ArrayList<Stop> stops) {
        this.stops = stops;
    }
    public ArrayList<DirectionsAndStops> getDirectionsToStopsMapping() {
        return directionsToStopsMapping;
    }
    public void setDirectionsToStopsMapping(
            ArrayList<DirectionsAndStops> directionsToStopsMapping) {
        this.directionsToStopsMapping = directionsToStopsMapping;
    }
}
